<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<title>用户信息</title>
	<link rel="stylesheet" href="css/user_info.css">
	<link rel="stylesheet" type="text/css" href="ui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="ui/themes/icon.css">
	<script type="text/javascript" src="ui/jquery.min.js"></script>
	<script type="text/javascript" src="ui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="ui/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="ui/jquery.cookie.js"></script>
	<script type="text/javascript" src="ui/jquery.form.js"></script>
	<script type="text/javascript" src="ui/date.js"></script>
	<script type="text/javascript" src="js/userInfo.js"></script>
</head>
<body>
<form id="userForm" action="user_setInfo" method="post" enctype="multipart/form-data" onsubmit="return submitData();">
	<fieldset>
		<legend>用户信息</legend>

		<input type="hidden" id="token" name="token">
		<label>
			头像：<br/><img src="images/head_def.jpg" width="80px" height="80px" id="headPortrait">
			<img src="images/image_add.png" id="imageAdd" style="display: none;" width="80px" height="80px" onclick="browseImage.click();">
		</label>
		<input type="file" id="browseImage" name="headPortrait"
			   accept="image/png,image/jpg,image/jpeg" style="display: none;">

		<label>
			用户名: <input type="text" id="username" name="username" disabled>
		</label>
		<label class="editHiden">
			手机号: <input type="text" id="phone" disabled>
		</label>
		<label>
			邮箱: <input type="text" id="email" name="email" disabled>
		</label>
		<label class="editHiden">
			注册日期: <input type="text" id="registerDate" disabled>
		</label>
		<label class="editHiden">
			状态: <input type="text" id="state" disabled>
		</label>
		<div class="editHiden">
			<label class="btn">
				<input type="button" onclick="userEdit();" value="编辑">
			</label>
		</div>
		<div class="showHiden" style="display: none;">
			<label class="btn">
				<input type="button" onclick="userShow();" value="查看">
				<input type="submit" value="提交">
			</label>
		</div>
		<a href="javascript:void(0);" style="font-size: 10px; color: #95B8E7; float: right;" onclick="logout();">退出登录</a>
	</fieldset>
</form>

</body>
</html>